package com.masterclient.app.businessmodule.usermodule.login.contract;

import com.eoner.baselibrary.base.BasePresenter;
import com.eoner.baselibrary.base.BaseView;
import com.masterclient.app.businessmodule.usermodule.login.beans.LoginBean;

/**
 * 作者：sean
 * 创建时间：2017/7/24 19:22
 * 功能说明：
 */

public interface BringPwdBackContract{

    interface View extends BaseView {
      void setPwdSuccess();
      void setPwdFailed(String msg);
      void getCaptchaSuccess();
      void getCaptchaFailed(String msg);

        void loginSuccess(LoginBean.LoginData data);
        void loginFailed();
    }

    abstract static class Presenter extends BasePresenter<View> {

        @Override
        public void onStart() {

        }

        public abstract void forgotSetPwd(String captcha, String mobile,String pwd,String type);

        public abstract void getCaptcha(String mobile,String type,String ne);
        public abstract void pwdLogin(String mobile,String pwd);

    }
}